<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------


use think\Route;

$u = 'xcx/:v/';// url

// Token
Route::group('xcx/token', function () {
    // 获取
    Route::post('/getToken','api/v1.Token/getToken');
    // 验证token
    Route::post('/verify','api/v1.Token/verifyToken');
});

Route::post('xcx/tp/getTpAdd', 'api/v1.User/getTpAdd');

Route::get('xcx/tp/getData', 'api/v1.User/getData');